package com.atguigu.guli.service.sms.feign;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.sms.feign.impl.UcenterFeignClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter",fallback = UcenterFeignClientImpl.class)
public interface UcenterFeignClient {
    @GetMapping("/api/ucenter/member/isRegist/{mobile}")
    public R isRegist(@PathVariable String mobile);
}
